package com.sds.ai.impl.data.logging;

import com.google.common.collect.Lists;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

@XmlRootElement
public class ChatSessions implements Serializable {
    List<ChatSession> sessions = Lists.newArrayList();

    @XmlElement
    public List<ChatSession> getSessions() {
        return sessions;
    }

    public void addChatSession(ChatSession chatSession) {
        sessions.add(chatSession);
    }

}
